public class ChangeDemo {
    public static void main(String[] args) {
// 第三题       交换两个数的值
        int a = 1, b = 2, t = 0;
        t = a;
        a = b;
        b = t;
        System.out.println(a);
        System.out.println(b);
    }
}
